const mongoose = require('../db')

const BlogRollSchema = new mongoose.Schema({
  name: { type: String, required: true },
  url: { type: String, required: true },
  createTime: { type: Date},
  updateTime: { type: Date},
})

module.exports = mongoose.model('blogRoll', BlogRollSchema, 'blogRoll')
